#include "CKCrawlerWork.h"



extern "C" void* GetObject(std::string init)
{
	return (void*)(new CKCrawlerWork(init));
}


extern "C" void DelObject(void* obj)
{
	delete static_cast<CKCrawlerWork*>(obj);
}


extern "C" std::string DoingWork(void* obj, std::string strOtherParams)
{
	CKCrawlerWork* wt = static_cast<CKCrawlerWork*>(obj);
	return wt->DoingWork(strOtherParams);
}
